package birdsong.filter;

public class BannedClient {
	
	private String client;
	private long time;
	/**
	 * Constructor of the BannedClass.
	 * We consider a banned client, a client who has repeated the same message
	 * three times or has sent more than 10 messages within 30 seconds 
	 * 
	 * @param client Client who was banned
	 * @param time Time when the banned client was created
	 * */
	public BannedClient(String client, long time) {
		this.client = client;
		this.time = time;
	}
	/**
	 * 
	 * Getter for Client
	 * @return client
	 */
	public String getClient() {
		return client;
	}
	/**
	 * 
	 * Getter for Time
	 * @return time
	 */
	public long getTime() {
		return time;
	}
	
}
